﻿using Framework.Repository.Conventions;

namespace Framework.Tests.Repository.Entities
{
    [Entity]
    public class Address
    {
        protected Address()
        {
        }

        public Address(string street, int number, int zipCode)
        {
            Street = street;
            Number = number;
            ZipCode = zipCode;
        }

        public virtual int Id { get; protected set; }
        public virtual string Street { get; protected set; }
        public virtual int Number { get; protected set; }
        public virtual int ZipCode { get; protected set; }
    }
}